package com.fulihui.weixinclient.model.enums;

import org.near.toolkit.model.BaseEnum;

/**
 * 微信交易类型枚举
 * Created by Willard on 2015/9/17.
 */
public enum WeixinTradeTypeEnum implements BaseEnum {

    JSAPI("JSAPI", "公众号支付"),

    NATIVE("NATIVE", "原生扫码支付"),

    APP("APP", "app支付"),

    MICROPAY("MICROPAY", "刷卡支付"),

    WAP("WAP", "手机浏览器H5支付"),

    ;

    private String code;

    private String desc;

    WeixinTradeTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
